namespace EOSDigital.SDK
{
	public struct Size
	{
		public int Width;

		public int Height;

		public Size(int Width, int Height)
		{
			this.Width = Width;
			this.Height = Height;
		}

		public static bool operator ==(Size x, Size y)
		{
			if (x.Width == y.Width)
			{
				return x.Height == y.Height;
			}
			return false;
		}

		public static bool operator !=(Size x, Size y)
		{
			return !(x == y);
		}

		public override bool Equals(object obj)
		{
			if (obj is Size)
			{
				return this == (Size)obj;
			}
			return false;
		}

		public override int GetHashCode()
		{
			int num = -2128831035;
			num *= (0x1000193 ^ this.Width.GetHashCode());
			return num * (0x1000193 ^ this.Height.GetHashCode());
		}

		public override string ToString()
		{
			return this.Width + ";" + this.Height;
		}
	}
}
